package com.wenjiang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wenjiang.common.dto.AddressParam;
import com.wenjiang.common.lang.Result;
import com.wenjiang.entity.MallUserAddress;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lwj
 * @since 2021-07-20
 */
public interface MallUserAddressService extends IService<MallUserAddress> {


    //获取用户地址电话信息

    public Result getAddressById(Long userId);


    //修改或增加用户地址
    public  Result saveOrUpdate(AddressParam addressParam , Long userId);

    //删除用户地址信息
    public  Result del(Long addressId);

}
